package com.hyt.it.ogt.kq.service.gov.model.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @author liuhh
 */
@Data
@NoArgsConstructor
public class AddExamAgreementParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotBlank(message = "协议名称不能为空")
    @Size(max = 60,message = "协议名称长度不能大于60个字符串")
    @ApiModelProperty(value = "名称")
    private String name;

    @NotBlank(message = "任务id不能为空")
    @ApiModelProperty(value = "任务id")
    private String taskId;

    @Size(max = 90,message = "备注长度不能大于90个字符串")
    @ApiModelProperty(value = "备注")
    private String remark;

    @NotBlank(message = "协议文件不能为空")
    @ApiModelProperty(value = "上传文件返回的id")
    private String fileId;

}
